package com.cysoft.starter.repeat.core.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.concurrent.TimeUnit;

/**
 * @author 玖零
 * @version V0.0.1
 * @project cysoft-spring-boot-starter-repeat
 * @package com.cysoft.starter.repeat.core.model
 * @date 2025-03-03 00:11
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RepeatInfo {

    /**
     * 请求唯一标识
     */
    private String requestKey;

    /**
     * 过期时间
     */
    private long expireTime;

    /**
     * 时间单位
     */
    private TimeUnit expireTimeUnit;
}
